﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace Game
{
    public partial class MainPage : UserControl
    {
        //public double width { get; set; }
        //public double height { get; set; }

        public MainPage()
        {
            InitializeComponent();
            Popup p = new Popup();
            Border b = new Border();
            b.BorderBrush = new SolidColorBrush(Colors.Black);
            b.BorderThickness = new Thickness(5.0);
            p.Visibility = System.Windows.Visibility.Visible;
        }

        private void playImage_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            playImage.Opacity = 1;
            
        }

        private void resumeImage_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            resumeImage.Opacity = 1;
        }

        private void scoresImage_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            scoresImage.Opacity = 1;
        }

        private void optionsImage_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            optionsImage.Opacity = 1;
            OptionWindow option = new OptionWindow();
            option.Show();
        }

        private void helpImage_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            helpImage.Opacity = 1;
        }
    }
}
